<div id="page-wrapper">
	<div class="row">
		<div class="col-lg-12">
			<h3 class="page-header">
				<span>投票记录</span>
			</h3>
		</div>
		<!-- /.col-lg-12 -->
	</div>
	<!-- /.row -->

	<div class="row">
		<div class="col-lg-12">
			<div class="panel panel-default">
				<div class="panel-heading">
					<form id="item_records" name="item_records" class="placedInline"> 
					    <button type="submit" formaction="{:U('User/Praise/record_delete')}" formmethod="post" class="btn btn-sm btn-danger dword-size">删&emsp;除</button>
                    </form>
				</div>
				<!-- /.panel-heading -->
				<div class="panel-body">
					<div class="table-responsive">
						<table class="table">
							<thead>
								<tr>
									<th><input type="checkbox" data-action="checkboxAll"></th>
									<th>编号</th>
									<th>作品编号</th>
									<th>微信用户</th>
									<th>投票时间</th>
								</tr>
							</thead>
							<tbody>
								<foreach name='datas' item='data' >
									<tr>
										<td><input type="checkbox" form="item_records" data-action="checkboxOnce" name="records[]" value="{$data['id']}"></td>
										<td>{$data['id']}</td>
										<td>{$data['pid']}</td>
										<td>{$data['openid']}</td>
										<td>{$data['updated_time']}</td>
									</tr>
								</foreach>
							</tbody> 
						</table>
					</div>
					<!-- /.table-responsive -->
				</div>
				<!-- /.panel-body -->
			</div>
			<!-- /.panel -->
		</div>
		<!-- /.col-lg-6 -->
	</div>
	<nav>
	<ul class="pagination">
		{$page}
	</ul>
</nav>
	<!-- /.row -->
</div>
<!-- /#page-wrapper -->
<import type="js" file="common" basepath="/Public/js" />
<script type="text/javascript">
	common.multiSelect.init( "checkboxAll", "checkboxOnce" );
</script>
